package com.decoration.basic.mapper;

import com.decoration.basic.entity.DecPictureBase;
import com.decoration.basic.entity.DecorationPicture;
//import org.apache.ibatis.annotations.Mapper;
import com.decoration.basic.entity.DecCarouselBase;

import java.util.List;

import com.decoration.basic.entity.DecCarouselBase;
import com.decoration.basic.entity.DecorationPicture;

//@Repository
//@Mapper
public interface DecPictureMapper {

	List<DecorationPicture> findAll();

	List<DecCarouselBase> findCaRousel();

	List<String> searchCtcRel(String ctcid);

	List<Integer> getIdByAddress(String address);

	int deleteCtcRelPic(String ctcId);
	int deleteDailyPic(String dailyId);

	int delete(String picInfId);

	int update(DecorationPicture category);

	int add(DecorationPicture category);

	int addcommon(DecorationPicture category);

	List<DecorationPicture> findByRetId(String picInfId, String userId, String ctcId, String dailyId, String caseId);
}